package com.example.cognitivesystemserver.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.servlet.http.HttpServletRequest;

@RestController
public class StudentController {
    //添加学生信息
    @PostMapping("/student/addStudent")
    public Object addStudent(HttpServletRequest req) {
        return null;
    }

    //删除学生信息
    @PostMapping("/student/deleteStudent")
    public Object deleteStudent(HttpServletRequest req) {
        return null;
    }

    //修改学生信息
    @PostMapping("/student/UpdateStudent")
    public Object updateStudent(HttpServletRequest req) {
        return null;
    }

    //查询某个学生信息
    @GetMapping("/student/getStudent")
    public Object getStudent(HttpServletRequest req) {
        return null;
    }

    //查询全部学生信息
    @GetMapping("/student/getAllStudent")
    public Object getAllStudent() {
        return null;
    }

    //查询具体某个学生成绩
    @GetMapping("/student/getStuScore")
    public Object getStudentScore(HttpServletRequest req) {
        return null;
    }

    //查询全部学生成绩
    @GetMapping("/student/getAllStuScore")
    public Object getAllStuScore() {
        return null;
    }
}
